﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;

namespace JWGF
{
    /// <summary>
    /// Summary description for WebService1
    /// </summary>
    [WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [System.ComponentModel.ToolboxItem(false)]
    // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. 
    // [System.Web.Script.Services.ScriptService]
    public class WebService1 : System.Web.Services.WebService
    {

        /// <summary>
        /// 获取新版本
        /// </summary>
        /// <param name="clientInfo">客户端提交的帐户信息</param>
        /// <returns>新版本链接或错误信息</returns>
        [WebMethod]
        public string GetNewVersionUrl(string clientInfo)
        {
            return "";
        }
        /// <summary>
        /// 创建试用帐户
        /// </summary>
        /// <param name="clientInfo">客户端提交的帐户信息</param>
        /// <returns>注册码或错误信息</returns>
        [WebMethod]
        public string TrivialAccount(string clientInfo)
        {
            return "";
        }
        /// <summary>
        /// 验证帐户信息，一般为工具的第一次调用网络时
        /// </summary>
        /// <param name="clientInfo">客户端提交的帐户信息</param>
        /// <returns>软件运行所需信息或错误信息</returns>
        [WebMethod]
        public string ValidateAccount(string clientInfo)
        {
            return "";
        }
        /// <summary>
        /// 检查帐户信息，并返回工具运行时需要的信息
        /// </summary>
        /// <param name="clientInfo">客户端提交的帐户信息</param>
        /// <returns>软件运行所需信息或错误信息</returns>
        [WebMethod]
        public string GetInfo(string clientInfo)
        {
            return "";
        }
    }
}
